/*


import java.util.concurrent.atomic.AtomicLong;

public class Singleton {
    private static Singleton instance;
    //AtomicLong是以原子方式操作long值的类，作用是保证并发时线程安全的累加
    private AtomicLong count = new AtomicLong(0);
    */
/********** Begin *********//*

    //此处增加Singleton的构造函数


    */
/********** End *********//*

    public static Singleton GetInstance(){
        */
/********** Begin *********//*

        //考虑线程安全问题
        if (instance == null) {
            synchronized (LazySingleton.class) {
                instance = new LazySingleton();
            }
        }
        return instance;

        */
/********** End *********//*

    }
    public AtomicLong getCount() {
        return count;
    }
    public void setCount() {
        count.addAndGet(1);
    }
}
*/
